﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="PDNoAdd.aspx.cs" Inherits="Ewts.PD.PDNoAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">

<h2>盘库编号</h2>
<div>
<table style="width:100%;">
    <tr>
        <td>
            归属地:
        </td>
        <td>
            <asp:DropDownList ID="dropBcity" runat="server">
                <asp:ListItem>请选择</asp:ListItem>
                <asp:ListItem>上海</asp:ListItem>
                <asp:ListItem>北京</asp:ListItem>
                <asp:ListItem>广州</asp:ListItem>
                <asp:ListItem>苏州</asp:ListItem>   
            </asp:DropDownList>
        </td>
        <td>
            处理地：
        </td>
        <td>
            <asp:DropDownList ID="dropGcity" runat="server">
                <asp:ListItem>请选择</asp:ListItem>
                <asp:ListItem>上海</asp:ListItem>
                <asp:ListItem>北京</asp:ListItem>
                <asp:ListItem>广州</asp:ListItem>
                <asp:ListItem>苏州</asp:ListItem>   
            </asp:DropDownList>
        </td>
        <td>
           备注：
        </td>
        <td>
            <input id="txtmemo" runat="server" />
        </td>
        <td><asp:Button ID="btnAdd" runat="server" Text="生成新的单号" onclick="btnAdd_Click" /></td>
        <td>
            <input type="hidden" id="hidUser" runat="server" />
        </td>
    </tr>
</table>
     

     
 
</div>
<div class="shadow">
<table cellpadding="0" id="tab" class="display" cellspacing="0" style="width:100%;"  >
     <thead>
 
        <tr>
 
            <th>序号</th>
 
            <th>盘库单号</th>
 
            <th>归属地</th>

            <th>处理地</th>

            <th>备注</th>
            <th>操作</th>

 
        </tr>
 
      </thead>
<asp:Repeater ID="rept" runat="server">
  <ItemTemplate>
 
    <tr>
 
      <td><%# Container.ItemIndex + 1 %></td>
 
      <td><%# Eval("outStorageNo")%></td>

      <td><%# Eval("InDepart")%></td>
 
      <td><%# Eval("OutDepart")%></td>

      <td><%# Eval("Memo") %></td>
      <td><%# GetUpdateBtn(Eval("id").ToString())%></td>
     </tr>
 
  </ItemTemplate>
  </asp:Repeater>
  </table>
</div>
      <script type="text/javascript">

          $(document).ready(function () {

              $('#tab').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                  "bJQueryUI": true,
                  "sPaginationType": "full_numbers",
                  'bPaginate': true,
                  "bProcessing": true,
                  "iDisplayLength": 10,
                  "bSort": true,

                  "aaSorting": [[0, "asc"]]
              });

          });
 
</script>
</asp:Content>
